package com.family.gmall.cart.client.impl;

import com.family.gmall.cart.client.CartFeignClient;
import com.family.gmall.common.result.Result;
import com.family.gmall.model.order.CartInfo;
import org.springframework.stereotype.Component;
import java.util.List;

/**
 * @Auther: family
 * @Date: 2023/7/29 17:04
 * @Description:
 */
@Component
public class CartDegradeFeignClient implements CartFeignClient {
    @Override
    public Result addToCart(Long skuId, Integer skuNum) {
        return null;
    }

    @Override
    public List<CartInfo> getCartCheckedList(String userId) {
        return null;
    }

    @Override
    public Result loadCartCache(String userId) {
        return Result.fail();
    }
}
